// "Copyright [2021] <Copyright Shengkai Lin>"

package cluster.optical_device;

simple OpticalTransceiver{
    parameters:
        int my_index;
        int my_global_index;
        int detectModeEnabled = default(1);
        double safety_interval = default(0);
        double detect_period = default(1e-6);
        int msgSize = default(1);

    gates:
        inout nic_port;
        inout out_port;
}